<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Res_partnerCustomerCardViewBase from './res-partner-customer-card-view-base.vue';

import view_searchform from '@widgets/res-partner/default-searchform/default-searchform.vue';
import view_dataview from '@widgets/res-partner/customer-card-dataview/customer-card-dataview.vue';

/**
 * 客户卡片视图
 *
 * @export
 * @class Res_partnerCustomerCardView
 * @extends {Res_partnerCustomerCardViewBase}
 */
@Component({
    components: {
        view_searchform, 
        view_dataview, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class Res_partnerCustomerCardView extends Res_partnerCustomerCardViewBase { }
</script>